package com.lry.web.cartoon.service;



import java.io.IOException;
import java.util.Map;

public interface CartoonService {


    Map<String,Object> getCartoons(String key, String option, Integer from, Integer size) throws IOException;

    int deleteByCartoonId(String cartoonId) throws Exception;

    int deleteByCVId(String cVId) throws Exception;

    int spiderCartoon(String title) throws InterruptedException;

    Integer selectNum();

    Map<String,Object> selectCartoons(int from , int size,String option,String key);


}
